package com.nuyoah.mapper;

import com.nuyoah.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 存储系统中的角色信息 Mapper 接口
 * </p>
 *
 * @author xyx
 * @since 2024-06-03
 */
public interface RoleMapper extends BaseMapper<Role> {

    Integer getRoleByUserId(Integer id);

    String getRoleNameById(Integer roleId);

}
